package com.zlq.cn.dto.vo;

import io.swagger.annotations.ApiModelProperty;
import lombok.Data;
import lombok.experimental.Accessors;

import javax.validation.constraints.NotNull;

@Data
@Accessors(chain = true)
public class SignCommonParam {

    @ApiModelProperty("应用包名")
    @NotNull(message = "应用包名不能为空")
    private String packageName;

    @ApiModelProperty("应用版本号")
    @NotNull(message = "应用版本号不能为空")
    private String version;

    @ApiModelProperty("时间戳")
    @NotNull(message = "时间戳不能为空")
    private Long timestamp;

    @ApiModelProperty("imei唯一标识")
    @NotNull(message = "imei唯一标识不能为空")
    private String imei;

    @ApiModelProperty("用户token")
    private String token;

    @ApiModelProperty("签名结果")
    @NotNull(message = "签名结果不能为空")
    private String sign;

    @ApiModelProperty("苹果token")
    private String iosToken;
}
